<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title><bean:message key="comun.msg.tituloBienvenida"/></title>
	<link rel="stylesheet" type="text/css" href="<html:rewrite page="/comun/css/estilo.css" />" />
</head>

<body>
<div id="contenedora">
  <div id="login_div">
  
    <html:form action="/Login" method="post" focus="login">
      <logic:messagesPresent message="false">
	      <div class="error" style="color:red; font:small;">
	      	<html:messages id="msg" message="false">
			 	<bean:write name="msg" /><br />
	      	</html:messages>
	      </div>
      </logic:messagesPresent>
    
      <label for="login">
      	<bean:message key="prompt.login"/>:
      </label>
      <html:text property="login" styleId="login" styleClass="campo"/>

      <label for="password">
      	<bean:message key="prompt.password"/>:
      </label>
      <html:password property="password" styleId="password"  styleClass="campo"/>

      <div id="login_botonera">
        <html:submit styleClass="btn" value="Entrar" />
      </div>
    </html:form>
  </div>
</div>
</body>

</html>
